<template>
  <el-container>
    <el-header class="container_header">
      <Header />
    </el-header>
    <el-main class="container_main">
      <nuxt-page />
    </el-main>
  </el-container>
</template>

<script setup lang="ts">
  useHead({
    title: '首页'
  })
  definePageMeta({
    redirect: '/collect',
    title: '首页',
    hideInMenu: false
  })
</script>

<style scoped lang="less">
  .container_header {
    padding: 0;
    height: 4rem;
  }

  .container_main {
    height: calc(100vh - 4rem);
    overflow-y: auto;
  }
</style>
